<?php $this->_extends(Helper_Store::layout()); ?>
<?php $this->_block('title');?> <?=_L('member_center')?>   -  <?=$store['name']?> <?php $this->_endblock(); ?>
<?php $this->_block('contents'); ?>
<style>
th{ text-align:right; padding:5px 10px;}
</style>
<div class="MemberCenter">
  <div class="siteparttitle">
    <div class="title"></div>
    <div class="main">
      <div class="content">
        <div class="user"><?=_L('member/welcome')?>：<br />
          <strong><?=$customer['email']?></strong></div>
        <div class="info"> </div>
      </div>
    </div>
  </div>
  <div class="MemberSidebar">
     <?php $this->_element('customermenu'); ?>
  </div>
  <div class="MemberMain">
    <div style="margin-right:175px;">
      <h1 class="title"><?=_L('my_account')?> </h1>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="200"><?=_L('email')?>：</th>
          <td><?=$customer['email']?></td>
        </tr>
        <tr>
          <th><?=_L('member/gender')?>：</th>
          <td> <?php if($customer['gender']=='m'):?>
		  		<?=_L('member/male')?>
		  	   <?php else:?>
			   	<?=_L('member/female')?>
			   <?php endif;?>
		   </td>
        </tr>
		
			  <tr>
                <th> <?=_L('first_name')?>:</th>
                <td><?=$customer['firstname']?>
                    </td>
              </tr>
              <tr>
                <th> <?=_L('last_name')?>:</th>
                <td><?=$customer['lastname']?>
                    </td>
              </tr>
			  <tr>
                <th> <?=_L('phone')?>:</th>
                <td><?=$customer['phone']?>
                    </td>
              </tr>
			  <tr>
                <th> <?=_L('company')?>:</th>
                <td><?=$customer['company']?>
                    </td>
              </tr>
              <tr>
                <th>  <?=_L('street')?>:</th>
                <td><?=$customer['street1']?>
				</td>
              </tr>
			  <tr>
                <th><?=_L('street')?> 2:</th>
                <td><?=$customer['street2']?>
				</td>
              </tr>
              <tr>
                <th><?=_L('postalcode')?>：</th>
                <td><?=$customer['postalcode']?></td>
              </tr>
              
			  
			  
              <tr>
                <th><?=_L('city')?>：</th>
                <td><?=$customer['cityname']?></td>
              </tr>
              <tr>
                <th><?=_L('province')?>：</th>
                <td><?=$customer['stateorprovince']?></td>
              </tr>
			  <tr>
                <th><?=_L('country')?>：</th>
                <td ><?=$customer['countryname']?></td>
              </tr>
      </table>
    </div>
  </div>
  <div class="clear"></div>
</div>
<div class="clear"></div>

<?php $this->_endblock('contents'); ?>
